﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace TestEnvirementCL.POCO
{
  public class Team
  {
    //Attributes of the Table
    public int TeamId { get; set; }
    public string Name { get; set; }
    public string Photo { get; set; }
    public string Logo { get; set; }
    public char Gender { get; set; }
    public int Total { get; set; }
    
    //Foreign Keys
    //public int? CoachId { get; set; }
    public int SportId { get; set; }
    public int SchoolId { get; set; }
    
    //Relation to other Classes
    public virtual Coach Coach { get; set; }
    public virtual Sport Sport { get; set; }
    public virtual School School { get; set; }
    public virtual List<Student> Students { get; set; }
    public virtual List<Meeting> Meetings { get; set; }
    //public virtual List<Result> Results { get; set; }
    
  }
}
